package com.ruoyi.system.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 指挥官业务对象 emg_commander
 *
 * @author ruoyi
 * @date 2023-11-10
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class EmgCommanderBo extends BaseEntity {

    /**
     *
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;
    /**
     * 所属单位 数据
     */
    private Long deptId;
    /**
     * 名字
     */
    @NotBlank(message = "名字不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 年龄
     */
    @NotNull(message = "年龄不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer age;

    /**
     * 性别
     */
    @NotBlank(message = "性别不能为空", groups = { AddGroup.class, EditGroup.class })
    private String sex;

    /**
     * 坐标
     */
    private String lat;

    /**
     * 坐标
     */
    private String lng;

    /**
     * 地址
     */
    private String address;

    /**
     * 擅长
     */
    @NotBlank(message = "擅长不能为空", groups = { AddGroup.class, EditGroup.class })
    private String goodAt;

    /**
     * 作战经验次数
     */
    @NotNull(message = "作战经验次数不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer combatCount;

    /**
     * 联系电话1
     */
    @NotBlank(message = "联系电话1不能为空", groups = { AddGroup.class, EditGroup.class })
    private String phone1;

    /**
     * 联系电话2
     */
    @NotBlank(message = "联系电话2不能为空", groups = { AddGroup.class, EditGroup.class })
    private String phone2;

    /**
     * 状态
     */
    private String status;


}
